//
//  MyHeaderView.h
//  CarTown
//
//  Created by xionghao on 15/8/7.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Puser.h"

@protocol MyheaderViewClickDelegate <NSObject>

-(void)HeadViewclickWithIndex:(NSInteger)index;

@end

@interface MyHeaderView : UIView
+(instancetype)header;
@property (weak, nonatomic) IBOutlet UILabel *addresslable;
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UIImageView *typeicon;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UIImageView *top_bg;
@property (weak, nonatomic) IBOutlet UIView *bgview;
@property (weak, nonatomic) IBOutlet UIView *barview;
@property (weak, nonatomic) IBOutlet UIView *favview1;
@property (weak, nonatomic) IBOutlet UIView *shengji;
@property (weak, nonatomic) IBOutlet UIView *guanzhuview;
@property (weak, nonatomic) IBOutlet UIView *favview2;
@property (weak, nonatomic) IBOutlet UIView *shengji2;

@property (weak,nonatomic) id<MyheaderViewClickDelegate> delegate;
@property (nonatomic,strong) Puser *puser;

@end
